package org.easyelf.springmvc.kit;

/**
 * <p> Title: JsonResult.java</p>
 * <p> Description: 封装Json返回信息</p>
 * <p> CopyRight:CopyRight (c) 2017 </p>
 * <p> Designed by: EasyElf</p>
 * @author RehngaO
 * @date 2017年3月13日下午1:21:55
 * @version 1.0
 */
public class JsonResult {
    private boolean success;
    private int code;
    private String message;
    private Object object;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
